package com.mvc.mapper;

import com.mvc.entity.ShopCar;
import com.mvc.model.Gwc;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @ClassName ShopCarMapper
 * @Description TODO
 * @Author Roc
 * @Date 2021/11/27 21:10
 * @Version 1.0
 **/

public interface ShopCarMapper {
    List<ShopCar> listSearch(@Param(value = "startRow") Integer startRow,
                             @Param(value = "limit") Integer limit);
    Integer getCount();
    Integer insert(ShopCar ShopCar);
    Integer update(ShopCar ShopCar);
    Integer del(@Param(value = "id") Integer id);

    List<Gwc> search(Gwc gwc);
    Integer Gupdate(Gwc gwc);
    Integer Gdel(@Param(value = "id") Integer id);



}
